.ui.form{
  .ng-dirty.ng-invalid{
    border-color: red;
  }
  input.ng-dirty.ng-invalid:-webkit-autofill{
    border-color: red!important;
  }
}